public class Poker {
    public String suit;//花色
    public int rank;//数字

    //写一个构造方法
    public Poker(String suit, int rank) {
        this.suit = suit;
        this.rank = rank;
    }

    //重写一个toString方法用于打印

    @Override
    public String toString() {
        return "Poker{"+"suit = "+suit+", "
                +"rank ="+rank+"}";
    }
}
